package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2023-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SLIP_DETAIL_PART")
@ApiModel(value="PcSlipDetailPart对象", description="")
public class PcSlipDetailPart implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公司id")
    private String companyId;

    @ApiModelProperty("仓库单号")
    private String stockNo;

    @ApiModelProperty("入库单号")
    private String slipNo;

    @ApiModelProperty("物料编码")
    private String mtlNo;

    @ApiModelProperty("材料颜色")
    private String mtlColor;

    @ApiModelProperty("材料名称")
    private String mtlName;

    @ApiModelProperty("规格")
    private String mtlSpec;

    @ApiModelProperty("单位")
    private String mtlUnit;

    @ApiModelProperty("数量")
    private BigDecimal qty;

    @ApiModelProperty()
    private String lotNo;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty()
    private BigDecimal item;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty("入库日期")
    private Date slipDate;

    @ApiModelProperty("部门代码")
    private String deptNo;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty()
    private String slipType;

    @ApiModelProperty("入库原因")
    private String slipReason;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty()
    private Date sysDate;

    @ApiModelProperty("仓管员")
    private String sysUser;

    @ApiModelProperty("厂商代码")
    private String vendorNo;

    @ApiModelProperty("厂商单号")
    private String vendorName;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("金额")
    private BigDecimal amt;

    @ApiModelProperty()
    private String cfmFlag;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty()
    private Date cfmDate;

    @ApiModelProperty()
    private String cfmUser;

    @ApiModelProperty()
    private String financeMemo;

    @ApiModelProperty()
    private String financeYymm;

    @ApiModelProperty()
    private String purNo;

}
